#pragma once

#include <string>
#include "Pesticide.h"

class Peasant
{
public:
    Peasant(std::string name)
    {
        this->_name = name;
        this->_pesticide = nullptr;
    }
    ~Peasant();
    void peasantAddBdosage(Pesticide *pesticide);
    void peasantSpray(int num);
    bool fire();
    void test();
    void threadTest();

private:
    std::string _name;
    Pesticide *_pesticide;
};